﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IWMAG.Core.Objects {
    public class AnimationSet {
        internal Dictionary<int, List<Frame>> Animations = new Dictionary<int,List<Frame>>();

        public int BuildAnimation(string name, params Frame[] frames) {
            int id = name.GetHashCode();
            Animations.Add(id, new List<Frame>(frames));
            return id;
        }
    }
}
